<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"
    />
    <title>黑马面面</title>
    <link rel="stylesheet" href="css/normalize.css" />
    <link rel="stylesheet" href="css/index.css" />
    <link rel="stylesheet" href="css/swiper-bundle.css" />
    <script src="js/flexible.js"></script>
    <script src="js/swiper-bundle.js"></script>
  </head>
  <body>
    <!-- header -->
    <header>
      <h3>黑马面面</h3>
    </header>
    <!-- nav -->
    <nav>
      <ul>
        <li>
          <a href="#">
            <img src="img/nav1.png" alt="" />
            <span>HR面试</span>
          </a>
        </li>
        <li>
          <a href="#">
            <img src="img/nav2.png" alt="" />
            <span>笔试</span>
          </a>
        </li>
        <li>
          <a href="#">
            <img src="img/nav3.png" alt="" />
            <span>技术面试</span>
          </a>
        </li>
        <li>
          <a href="#">
            <img src="img/nav4.png" alt="" />
            <span>模拟面试</span>
          </a>
        </li>
        <li>
          <a href="#">
            <img src="img/nav5.png" alt="" />
            <span>面试技巧</span>
          </a>
        </li>
        <li>
          <a href="#">
            <img src="img/nav6.png" alt="" />
            <span>薪资查询</span>
          </a>
        </li>
      </ul>
    </nav>
    <!-- go -->
    <div class="go">
      <a href="#"><img src="img/go.png" alt="" /></a>
    </div>
    <!-- gap -->
    <div class="gap"></div>
    <!-- 就业指导 -->
    <section class="content">
      <div class="content-hd">
        <h3>就业指导</h3>
        <a href="#">更多>></a>
      </div>
      <div class="get_job_focus">
        <div class="swiper-container get_job_fo">
          <div class="swiper-wrapper">
            <div class="swiper-slide">
              <a href="#"><img src="img/pic.png" alt="" /></a>
              <p>老师教你应对面试技巧</p>
            </div>
            <div class="swiper-slide">
              <a href="#"><img src="img/2.jpg" alt="" /></a>
              <p>老师教你应对面试技巧</p>
            </div>
            <div class="swiper-slide">
              <a href="#"><img src="img/3.jpg" alt="" /></a>
              <p>老师教你应对面试技巧</p>
            </div>
          </div>
        </div>
        <!-- Add Arrows  根据需求左右箭头放外边-->
        <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
      </div>
    </section>
    <!-- gap -->
    <div class="gap"></div>
    <!-- 充电学习 -->
    <section class="content">
      <div class="content-hd">
        <h3 class="chongdian">充电学习</h3>
        <a href="#">更多>></a>
      </div>
      <div class="study">
        <div class="swiper-container study_fo">
          <div class="swiper-wrapper">
            <div class="swiper-slide">
                <a href="#">
                    <img src="img/pic1.png" alt="">
                    <h3>说地道英语，告别中式英语</h3>
                    <p><span>156</span>人学习</p>
                </a>
            </div>
            <div class="swiper-slide">
                <a href="#">
                    <img src="img/pic2.png" alt="">
                    <h3>思维攻略金字塔思维提升写作能力</h3>
                    <p><span>125</span>人学习</p>
                </a>
            </div>
            <div class="swiper-slide">
                <a href="#">
                    <img src="img/pic1.png" alt="">
                    <h3>Xmind零基础学习学习学习</h3>
                    <p><span>86</span>人学习</p>
                </a>
            </div>
          </div>
        </div>
      </div>
    </section>
    <footer>
        <a href="#">
            <img src="icons/home.png" alt="">
            <span class='blue'>首页</span>
        </a>
        <a href="#">
            <img src="icons/net.png" alt="">
            <span>技术面试</span>
        </a>
        <a href="#">
            <img src="icons/ms.png" alt="">
            <span>模拟面试</span>
        </a>
        <a href="#">
            <img src="icons/user.png" alt="">
            <span>我的主页</span>
        </a>
    </footer>
    <script>
      // 第一个轮播图
      //立即执行函数，防止对第二个轮播图造成影响
      (function () {
        var swiper = new Swiper(".get_job_fo", {
          // 能够显示slide的个数
          slidesPerView: 2,
          //   每个slide之间的距离
          spaceBetween: 30,
          //   最大的居中
          centeredSlides: true,
          loop: true,
          //不需要分页器
          /* pagination: {
            el: ".swiper-pagination",
            clickable: true,
          }, */
          //   左右箭头
          navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev",
          },
        });
      })();
    //   页面有多个轮播图 修改swiper类名
      (function () {
        var swiper = new Swiper(".study_fo", {
          slidesPerView: 2.2,
          spaceBetween: 30,
        });
      })();
    </script>
  </body>
</html>
